#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'tian'
__data__ = '2022/4/29 14:28'
# software: PyCharm

from . import views

from rest_framework.routers import DefaultRouter

router = DefaultRouter()

# 收藏功能
router.register("fav", views.UserFavViewSet, basename="fav")
# 用户留言
router.register("messages", views.LeavingMessageViewSet, basename="messages")
# 收货地址
router.register("address", views.AddressViewSet, basename="address")
urlpatterns = [] + router.urls
